<div class="login">
	<%= error_messages_for 'login' %>
	<fieldset>
		<legend>Please Log In</legend>
		<% form_tag do %>
		<p>
			<label for="name">Name:</label>
			<%= text_field_tag :userName,params[:id] %>
		</p>
		<p>
			<label for="password">Password:</label>
			<%= password_field_tag :password,params[:password] %>
			<script>$('password').focus();</script>
		</p>
		<p>
			<%= submit_tag "Login" %>
		</p>
	<% end %>
	</fieldset>
</div>
